<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var referLink = document.createElement('a');
    referLink.href = "${form}";
    document.body.appendChild(referLink);
    referLink.click();
</script>
</body>
</html>